package com.neutech.springframework.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class User implements Serializable {
    private Integer id;
    private String name;
    private String password;
    private String phone;
    private String addr;
    private Timestamp createTime;
    private Timestamp updateTime;
    private Integer status;

    public User(String name, String password, String phone, String addr) {
        this.name = name;
        this.password = password;
        this.phone = phone;
        this.addr = addr;
    }
}
